-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds checks for container and bootc hosts #2110
Conversation
did a quick test on a bootc host and get the message by default, and can use dnf to install software in a transient way when I do |
This is missing the links to the docs described in: https://issues.redhat.com/browse/SWM-1313 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice and simple. Looks sane to me overall.
See: #2108 |
@jmarrero can you squash these commits in to a single for the purposes of the PR? In the commit message please explain the fix and reference that it resolves RHEL-49670 and RHEL-49671 |
For the docs URL, we could pull it from |
done. |
That’s a thing we would need to align with the RHEL/FEDORA team to have it there? I mean, that’s not something it up to us to decided if we can add it there or not. We may have a no as an answer. |
Talked to Colin about it and we can add it as part of the build process of our image-mode systems. We should probably split this into it's own issue. |
I don't think this can be the first case where we've wanted to reference docs from software we ship. It is a complex topic. Don't get me wrong, I'm not totally fixated on the idea the docs have to be online - it could also be a Many systemd units for example that we ship reference |
Could you also remove "import json" and "import subprocess" lines from dnf/util.py? Your patch removed the only reason for their imports. |
Thanks for renaming the function. Please change the name also in the commit message. |
This changes the is_container() func for _is_bootc_host() and updates the logic and message. This should detect on all ostree and bootc hosts to date that are not using bootc usroverlay or ostree admin unlock for development purposes. resolves: #RHEL-49670, RHEL-49671
done |
done |
6120fe5
into
rpm-software-management:master
This changes the
is_container()
func foris_bootc_host()
and updates the logic. This should detect on all ostree and bootc hosts to date that are not usingbootc usroverlay
orostree admin unlock
for development purposes.